MB Disk Manager - FAT32 and exFAT resizing

Choose Resize partition, adjust the slider or size, choose a backup folder
on another physical disk, review the target and click Apply. No typed
confirmation is required. The partition start and identity stay fixed.

The backup drive must be NTFS or exFAT and have room for the entire original
partition plus the larger of the old/new sizes, with 128 MiB extra headroom.
This is deliberately a staged operation, not a quick in-place resize.

The app checks the filesystem, locks volumes and takes the selected data
disk offline. It saves and verifies a complete original partition image,
prepares the resized image separately, then writes and verifies the result
before updating the partition length. Windows checks the result afterward.
Other volumes on the disk are unavailable while it is offline.

FAT32 growth rebuilds the allocation tables and preserves cluster identities,
directory records and data. Shrinking stops at the last allocated cluster;
this version does not compact FAT32 files. A mostly empty volume can still
have a high minimum size if a file has clusters near its end. Only ordinary
mirrored two-FAT layouts with valid boot/information copies are supported.

exFAT uses exfat-resize 2.1.0 on the separate image. It can relocate tail
clusters when shrinking. The slider minimum is an estimate; exact layout
checks can refuse a requested size without changing the original disk.
TexFAT, unsupported vendor allocations, dirty or damaged filesystems are
refused. Growth requires free space immediately after the partition.

NTFS continues to use Windows Storage resizing and does not require these
staging images. System, active, protected and encrypted partitions remain
excluded. Existing GPT/MBR data-disk restrictions also apply.

Cancellation is supported before the final write. Once writing begins,
cancellation is deferred so the filesystem is not deliberately left half
written. Keep power connected and do not unplug the disk or close the app.
No software can make multiple disk writes atomic across power loss.

The original image is retained in MB-Resize-<id> under the chosen folder,
with resize.json, check reports and the original Windows partition layout.
The successful temporary resized image is deleted. Failed staging images
are retained for diagnosis. Do not mistake an incomplete backup for a
verified one; check resize.json and its SHA256 value.

On a normal write failure the app attempts to restore and verify the original
image and layout. If restoration fails, the disk stays offline. On power loss
or an interrupted commit, do not format or initialize the volume and do not
retry blindly. Keep the original image, layout and records for recovery.
There is no automatic power-loss resume or user-facing image restore in this
preview. Validate important backups before using any partition tool.
